<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="../static/css/bootstrap.min.css">
    <link rel="stylesheet" href="../static/css/login.css">
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-sm">

            </div>
            <div class="col-sm">
                <div class="card" style="width: 30rem;">
                    <div class="card-body shadow">
                        
                        <form action="/index" method="POST">
                            <h2 class="card-title" style="text-align: center; margin-top: 0rem; margin-bottom: 1rem;">登录</h2>

                            <div class="form-group row">
                                <label for="exampleRadios1" class="col-sm-2 col-form-label">用户名</label>
                                <div class="col-sm-10">
                                  <input type="username" class="form-control" id="exampleRadios1" name="username">
                                </div>
                              </div>
                              <div class="form-group row">
                                <label for="inputPassword3" class="col-sm-2 col-form-label">密码</label>
                                <div class="col-sm-10">
                                  <input type="password" class="form-control" id="inputPassword3">
                                </div>
                              </div>

                            <div class="form-group form-check">
                                <input type="checkbox" class="form-check-input" id="exampleCheck1">
                                <label class="form-check-label" for="exampleCheck1">勿忘我</label>
                            </div>

                            <div class="form-group btn">
                                <button type="button" class="btn btn-success" onclick="jump()">注册</button>
                                <button type="submit" class="btn btn-success" onclick="jumpTo()">登录</button>
                            </div>
                        </form>

                    </div>
                </div>
            </div>
            <div class="col-sm">

            </div>
        </div>
    </div>
    <script>
        function jump(){
            window.location.href="./register.html";
        }
    </script>
    <script src="../static/js/jquery-3.5.1.min.js"></script>
    <script src="../static/js/bootstrap.min.js"></script>
</body>

</html>